<template>
  <div class="top">
    <div>
      <div class="top-title">法律咨询</div>
      <div class="top-description">提供钢结构企业一站式法律服务</div>
      <div class="top-list">·&nbsp;&nbsp;以事实为依据提出合理要求<br>·&nbsp;&nbsp;以法律为准绳警告法律责任<br>·&nbsp;&nbsp;以解决为目的协助持续跟进</div>
      <el-button class="top-consult-btn">立即咨询</el-button>
    </div>
  </div>
  <div class="item-common">
    <div class="title-cn">企业是否在被这些法律纠纷困扰</div>
    <div class="title-en">IS THE ENTERPRISE TROUBLED BY THEST LEGAL DISPUTES</div>
    <el-row type="flex" :gutter="21">
      <el-col :span="6" v-for="(item, index) in troubledData" :key="index">
        <troubled-list :item="item"></troubled-list>
      </el-col>
    </el-row>
  </div>
  <div class="item-common">
    <div class="title-cn">业务领域</div>
    <div class="title-en">BUSIESS AREA</div>
    <el-row type="flex" :gutter="21">
      <el-col :span="6" v-for="(item, index) in territoryData1" :key="index">
        <territory-list :item="item"></territory-list>
      </el-col>
    </el-row>
    <el-row type="flex" :gutter="21">
      <el-col :span="6" v-for="(item, index) in territoryData2" :key="index">
        <territory-list :item="item"></territory-list>
      </el-col>
    </el-row>
  </div>
  <div class="item-common">
    <div class="title-cn">我们的优势</div>
    <div class="title-en">OUR ADVANTAGES</div>
    <div class="advantages-bg">
      <div class="advantages-content">
        <div class="content-top">
          <div class="top-sub-title">
            <div class="sub-title-main left">专业权威</div>
            <div class="sub-title-description left">精选优质法律顾问团队，行业多年经验<br>提供专业、高质量的法律服务</div>
          </div>
          <el-image class="advantages-image" :src="`${imgUrl}lagel-advantage.png`"></el-image>
          <div class="top-sub-title">
            <div class="sub-title-main">科技加持</div>
            <div class="sub-title-description">律师结合钢构管家“履约保”法务系统<br>为企业全面赋能，保障专业、高效的服务</div>
          </div>
        </div>
        <div class="content-bottom">
          <div class="bottom-sub-title">
            <div class="sub-title-main left">快速反应</div>
            <div class="sub-title-description left">实时在线解答，快速预约上门<br>提供高效服务</div>
          </div>
          <div class="bottom-sub-title">
            <div class="sub-title-main">安全保密</div>
            <div class="sub-title-description">坚持保守客户商业秘密<br>规范服务环节和成果的存档，服务留痕随时备查</div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="item-common">
    <div class="title-cn">流程服务</div>
    <div class="title-en">PROCESS SERVICES</div>
    <el-image class="process-services-explain" :src="`${imgUrl}lagel-service-process.png`"></el-image>
  </div>
</template>

<style scoped lang="scss">
.top {
  width: 100%;
  height: 600px;
  background: url("https://gggj-fe.oss-cn-hangzhou.aliyuncs.com/steel-mall/legal-banner.png");
  no-repea: 100%;
  background-size: cover;
  display: flex;
  align-items: center;
  > div {
    color: white;
    margin-left: 320px;
  }
}
.top-title {
  font-weight: bold;
  font-size: 60px;
  color: #FFFFFF;
  line-height: 70px;
}
.top-description {
  font-size: 26px;
  color: #FFFFFF;
  line-height: 32px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.top-list {
  font-size: 16px;
  color: #FFFFFF;
  line-height: 32px;
}
.top-consult-btn {
  width: 180px;
  height: 52px;
  background: #FFFFFF;
  border-radius: 3px;
  margin-top: 35px;
  font-size: 20px;
  color: #1678FF;
  line-height: 21px;
}
.item-common {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  .list-container {
    display: flex;
  }
}
.title-cn {
  margin-top: 100px;
  font-weight: 600;
  font-size: 36px;
  color: #172B4D;
  line-height: 42px;
}
.title-en {
  margin-top: 13px;
  margin-bottom: 40px;
  font-size: 18px;
  color: #7A869A;
  line-height: 21px;
}
.advantages-bg {
  width: 100%;
  height: 610px;
  background-color: #F2F8FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  .advantages-content {
    margin-top: 70px;
  }
  .content-top {
    display: flex;
    justify-content: center;
  }
  .content-bottom {
    margin-top: 4px;
    display: flex;
    justify-content: center;
  }
  .advantages-image {
    width: 662px;
    height: 348px;
  }
  .top-sub-title {
    margin-top: 82px;
  }
  .top-sub-title+.advantages-image {
    margin-left: 16px;
  }
  .advantages-image+.top-sub-title {
    margin-left: 16px;
  }
  .sub-title-main {
    font-weight: 600;
    font-size: 24px;
    color: #1678FF;
    line-height: 28px;
  }
  .sub-title-description {
    margin-top: 12px;
    font-size: 16px;
    color: #7A869A;
    line-height: 24px;
  }
  .left {
    text-align: right;
  }
  .bottom-sub-title+.bottom-sub-title {
    margin-left: 252px;
  }
}

.process-services-explain {
  margin-top: 58px;
  margin-bottom: 90px;
  width: 998px;
  height: 330px;
}
.el-row+.el-row {
  margin-top: 21px;
}
</style>

<script setup lang="ts">
import {imgUrl} from "@/utils/common";
import {troubledData, territoryData1, territoryData2} from "./constants";
import troubledList from "./componments/troubled-list.vue"
import territoryList from "./componments/territory-list.vue"
</script>